package carltechnology.com.mahjonggame.base;

import carltechnology.com.mahjonggame.mode.impl.MahjongGameDetailMode;
import carltechnology.com.mahjonggame.mode.impl.MahjongGameLinkePerGame;
import carltechnology.com.mahjonggame.mode.impl.MahjongGameMode;
import carltechnology.com.mahjonggame.mode.impl.MahjongPerGameMode;

/**
 * Created by WZTCM on 2016/6/14.
 */
public class RuningDatePool {
    MahjongGameDetailMode detailMode = null;
    MahjongGameMode mahjongGameMode = null;
    MahjongGameLinkePerGame mahjongGameLinkePerGame = null;
    MahjongPerGameMode perGameMode = null;

    public MahjongGameLinkePerGame getMahjongGameLinkePerGame() {
        return mahjongGameLinkePerGame;
    }

    public void setMahjongGameLinkePerGame(int perId) {
        if (mahjongGameMode==null) return ;
        this.mahjongGameLinkePerGame = MahjongGameLinkePerGame._of(mahjongGameMode.getId(),perId);
    }

    public MahjongPerGameMode getPerGameMode() {
        return perGameMode;
    }

    public void setPerGameMode(MahjongPerGameMode perGameMode) {
        this.perGameMode = perGameMode;
    }

    public MahjongGameDetailMode getDetailMode() {
        return detailMode;
    }

    public void setDetailMode(MahjongGameDetailMode detailMode) {
        this.detailMode = detailMode;
    }

    public MahjongGameMode getMahjongGameMode() {
        return mahjongGameMode;
    }

    public void setMahjongGameMode(MahjongGameMode mahjongGameMode) {
        this.mahjongGameMode = mahjongGameMode;
    }
}
